<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/9/9 0009
 * Time: 上午 10:41
 */

namespace App\Http\Controllers\Vue;

use App\Http\Controllers\Controller;

/**
 * Class AboutController 关于我
 *
 * @package App\Http\Controllers\Vue
 */
class AboutController extends Controller
{
    public function index()
    {
        return $this->success([
            'top'               => [
                'title' => '关于我',
                'desc'  => '像“草根”一样，紧贴着地面，低调的存在，冬去春来，枯荣无恙。关于我',
            ],
            'about'             => [
                'title' => '关于我',
                'items' => [
                    "网名：静意、随心",
                    "职业：PHP开发工程师",
                    "个人微信：loveme415225",
                    "邮箱：jinxing.liu@qq.com"
                ]
            ],
            'avatar'            => '/images/tx.png',
            'self_introduction' => '刘金星，男，一个90后PHP开发开发工程师！',
        ]);
    }

    public function weChat()
    {
        return $this->success(['image' => '/images/wx.png']);
    }
}